package com.briup.cms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.briup.cms.bean.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.briup.cms.bean.extend.UserExtend;

import java.util.List;

/**
* @author wo'q'q'c
* @description 针对表【cms_user】的数据库操作Service
* @createDate 2024-11-18 15:52:41
*/
public interface UserService  {

    User queryById(Long id);

    User login(String username, String s);

    void save(User user);

    IPage<UserExtend> query(Integer pageNum, Integer pageSize, String username, String status, Integer roleId, Integer isVip);

    void update(User user);

    void deleteByBatch(List<Long> ids);

}
